/*
 *      Created on: Mar 4, 2011
 *      Author: topcoder
 */

#ifndef LENGTH_FORMATTER_H_
#define LENGTH_FORMATTER_H_
#include <Quantity.h>
#include <Length.h>
#include <iostream>

class LengthFormatter
{
    public:
    LengthFormatter(const Length &length, Format format);

    friend ostream& operator<<(ostream& os, const LengthFormatter& lengthFormatter);

    private:
    const Length length_m;
    Format format_m;    
};

#endif /* LENGTH_FORMAT_H_ */
